﻿using System;
using System.Collections.Generic;
using System.Web;

/// <summary>
/// Summary description for Occupations
/// </summary>
/// 
namespace CE.Provider
{
    public class Occupations
    {
        private Int64 _providerpaoccupationid;
        private Int64 _providercompanyid;
        private Int32 _cxoccupationid;
        private string _description;
        private Int16 _class;
        private bool _status;
        private Int64 _refceuserid;
        private Int64 _vieweddetailid;
        private DateTime _createddate;
        private DateTime _modifieddate;

        public Occupations()
        {
            //
            // TODO: Add constructor logic here
            //
            ClearFields();
        }

        public Int64 ProviderPAOccupationId
        {
            get { return _providerpaoccupationid; }
            set { _providerpaoccupationid = value; }
        }

        public Int64 ProviderCompanyId
        {
            get { return _providercompanyid; }
            set { _providercompanyid = value; }
        }

        public Int32 CXOccupationId
        {
            get { return _cxoccupationid; }
            set { _cxoccupationid = value; }
        }

        public string Description
        {
            get { return _description; }
            set { _description = value; }
        }

        public Int16 Class
        {
            get { return _class; }
            set { _class = value; }
        }

        public bool Status
        {
            get { return _status; }
            set { _status = value; }
        }

        public Int64 RefCEUserId
        {
            get { return _refceuserid; }
            set { _refceuserid = value; }
        }

        public Int64 ViewedDetailId
        {
            get { return _vieweddetailid; }
            set { _vieweddetailid = value; }
        }

        public DateTime CreatedDate
        {
            get { return _createddate; }
            set { _createddate = value; }
        }

        public DateTime ModifiedDate
        {
            get { return _modifieddate; }
            set { _modifieddate = value; }
        }

        public void ClearFields()
        {
            _providerpaoccupationid = 0;
            _providercompanyid = 0;
            _cxoccupationid = 0;
            _description = "";
            _class = 0;
            _status = false;
            _refceuserid = 0;
            _vieweddetailid = 0;
            _createddate = CE.Global.General.GetUTCDateTime();
            _modifieddate = CE.Global.General.GetUTCDateTime();
        }

    }
}